// import instance from '@/utils/http'
import { get } from '@/utils/methods'
import type { MenuRequestType } from '../types/menu.d'


export function menuRequest(params?: { [ket: string]: any }): Promise<MenuRequestType[]> {
   return get('/rights?_embed=children', { params });

}